package com.sifa.springcloud.service;

import com.sifa.springcloud.entities.CommentResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "nacos-payment-provider",fallback = PaymentServiceFallback.class)
public interface PaymentService {
    /**

     * @description  如下是调用9003的controller层
     */
    @GetMapping(value = "paymentSQL/{id}")
    public CommentResult paymentSQL(@PathVariable("id")Integer id);
}
